<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>网页标题</title>
</head>
<body>
    <script>
        alert('hello javaScript');    //弹出警告框
        console.log('succed');   //输出日志
    </script>
</body>
</html>